package com.zx.video28181.domain;

import java.io.Serializable;
import java.util.Date;

public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 厂家
     */
    private String manufacturer;

    /**
     * 型号
     */
    private String model;

    /**
     * 固件版本
     */
    private String firmware;

    /**
     * 注册模式(UDP|TCP)
     */
    private String registerProtocol;

    /**
     * 推流模式(UDP|TCP)
     */
    private String streamProtocol;

    /**
     * 是否在线(0离线,1在线)
     */
    private String isOnline;

    /**
     * 上次注册时间
     */
    private Date registerTime;

    /**
     * 上次心跳时间
     */
    private Date keepaliveTime;

    /**
     * 设备ip
     */
    private String deviceIp;

    /**
     * 设备端口
     */
    private int devicePort;
    /**
     * 流媒体推流id
     */
    private String zlmIp;
    /**
     * 流媒体推流端口
     */
    private int zlmPort;

    /**
     * 注册有效期
     */
    private String expires;

    /**
     * 字符集编码
     */
    private String charset;
    /**
     * 是否注册
     */
    private boolean isRegister = false;

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getFirmware() {
        return firmware;
    }

    public void setFirmware(String firmware) {
        this.firmware = firmware;
    }

    public String getRegisterProtocol() {
        return registerProtocol;
    }

    public void setRegisterProtocol(String registerProtocol) {
        this.registerProtocol = registerProtocol;
    }

    public String getStreamProtocol() {
        return streamProtocol;
    }

    public void setStreamProtocol(String streamProtocol) {
        this.streamProtocol = streamProtocol;
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getKeepaliveTime() {
        return keepaliveTime;
    }

    public void setKeepaliveTime(Date keepaliveTime) {
        this.keepaliveTime = keepaliveTime;
    }

    public String getDeviceIp() {
        return deviceIp;
    }

    public void setDeviceIp(String deviceIp) {
        this.deviceIp = deviceIp;
    }

    public int getDevicePort() {
        return devicePort;
    }

    public void setDevicePort(int devicePort) {
        this.devicePort = devicePort;
    }

    public String getZlmIp() {
        return zlmIp;
    }

    public void setZlmIp(String zlmIp) {
        this.zlmIp = zlmIp;
    }

    public int getZlmPort() {
        return zlmPort;
    }

    public void setZlmPort(int zlmPort) {
        this.zlmPort = zlmPort;
    }

    public String getExpires() {
        return expires;
    }

    public void setExpires(String expires) {
        this.expires = expires;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public boolean isRegister() {
        return isRegister;
    }

    public void setRegister(boolean register) {
        isRegister = register;
    }
}
